package edu.scau.divineplace.entity.query.content;

import edu.scau.divineplace.entity.validate.group.Upload;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @Author: x1aolone
 * @Date: 2021/1/3 15:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("ContentSongQuery")
public class ContentSongQuery {

    @ApiModelProperty(value = "歌曲的id")
    private Long id;

    @ApiModelProperty(value = "歌曲名")
    @NotBlank(groups = {Upload.class})
    private String songName;

}
